﻿package core.ui.controls
{
    import flash.text.*;

    public class Literal extends TextField
    {

        public function Literal(param1:String = "", param2:Boolean = false, param3:uint = 3355443)
        {
            this.defaultTextFormat = new TextFormat("Trebuchet MS,Verdana,Helvetica,San-serif", AppState.TextSize, param3, true, null, null, null, null, param2 ? ("right") : ("left"));
            this.autoSize = param2 ? (TextFieldAutoSize.RIGHT) : (TextFieldAutoSize.LEFT);
            this.height = 16;
            this.multiline = false;
            this.selectable = false;
            this.text = U.RM(param1);
            return;
        }// end function

    }
}
